Skip to content

fix: sort entries before printing for fp-finder command #228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 30, 2025

Conversation

S0obi
Copy link
Contributor

@S0obi S0obi commented Apr 26, 2025

Seems like I refactored too much with initial PR #219 and inadvertently removed the sorting 😊
This commit will fix it.

theseion
theseion previously approved these changes Apr 26, 2025
@theseion theseion dismissed their stale review April 26, 2025 16:14

add test

Copy link
Contributor

@theseion theseion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test the ensures that entries are sorted.

@S0obi
Copy link
Contributor Author

S0obi commented Apr 26, 2025

Please add a test the ensures that entries are sorted.

I refactored a bit the main function to make it easily testable. I added a test to be sure entries are sorted and duplicates have been removed.

@S0obi S0obi requested a review from theseion April 27, 2025 08:39
@S0obi S0obi requested a review from theseion April 30, 2025 17:59
@theseion theseion merged commit 926e521 into coreruleset:main Apr 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants